#ifndef __HARDWARE_H
#define __HARDWARE_H

#include "stm32g4xx_hal.h"

void LED_Disp(uint8_t state);
void Key_Read(void);
double Get_ADC(ADC_HandleTypeDef *hadc);


struct Keys{
    uint8_t value;
    uint8_t old;
    uint8_t down;
    uint8_t up;
};
extern struct Keys key;


#endif
